<!--登录页-->
<template>
  <div style="height: 100vh;background-image: linear-gradient(135deg, #1E06F3FF, #F60388FF);overflow: hidden;">
    <el-container>
      <el-header style="height: 80px;background-color: #0c3be3;">
        <el-row :gutter="23">
          <el-col :span="1" style="padding: 15px">
            <img src="/login/logo.jpg" style="height: 50px;">
          </el-col>
          <el-col :span="2" style="padding: 15px">
            <img src="/login/auto.jpg" style="height: 50px;">
          </el-col>
          <el-col :span="1" style="padding: 15px">
            <img src="/login/verticalLine.png" style="height: 50px;">
          </el-col>
          <el-col :span="19" style="padding: 18px">
            <span style="color:#fff;font-size:30px;font-weight:bold;">梦想起航-扬帆远航校园招聘系统</span>
          </el-col>
        </el-row>
      </el-header>
      <el-main>
        <el-row :gutter="40">
          <el-col :span="16">
            <img src="login/studentlogin.png" style="width:55%;margin-top:0px; margin-left:200px;">
          </el-col>
          <el-col :span="8">
            <el-card style="margin-top: 80px" >
              <h2 style="text-align: center;">求职者注册/登录</h2>
              <p style="text-align: center;" font-size="10px;">首次验证通过即注册校园招聘账号</p>
              <el-form label-position="top">
                <el-form-item label="用户名:">
                  <el-input placeholder="请输入用户名"></el-input>
                </el-form-item>
                <el-form-item label="密码:">
                  <el-input placeholder="请输入密码" type="password" ></el-input>
                </el-form-item>
                <el-form-item >
                  <el-button type="primary" style="width:40%;  margin-left: 30px;" @click="register">注册</el-button>
                  <el-button type="primary" style="width:40%; margin-left: 30px;" @click="login">登录</el-button>
                </el-form-item>
                <div style="color:#666;text-align:center;font-size:14px;padding:10px 0;">
                  注册示例(账号:c124554 密码:123456)
                </div>
              </el-form>
            </el-card>
          </el-col>
        </el-row>
      </el-main>
      <el-main>

      </el-main>
    </el-container>
  </div>
</template>

<script setup>

const login = () => {
  window.location.href = "/student-view";
}
const register = () => {
  window.location.href = "/student-register";
}
</script>

<style scoped>

</style>